package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author ln
 * @since 2023-07-21
 */
@Data
@ApiModel(value = "机构管理实体类")
@EqualsAndHashCode(callSuper = false)
public class Jigo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      @ApiModelProperty(value = "主键id")
    private Integer id;
    @ApiModelProperty(value = "机构名称")
    private String jgname;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "对外服务电话")
    private String dwphone;
    @ApiModelProperty(value = "管理员姓名")
    private String glname;
    @ApiModelProperty(value = "联系方式")
    private String phone;
    @ApiModelProperty(value = "账号")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "开业时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "法人代表")
    private String fdname;
    @ApiModelProperty(value = "法人代表联系号码")
    private String fdphone;
    @ApiModelProperty(value = "统一社会信用代码")
    private String xinyongma;
    @ApiModelProperty(value = "卫生许可证")
    private Integer xukezheng;
    @ApiModelProperty(value = "是否具备医疗定点资格")
    private Integer yiliao;
    @ApiModelProperty(value = "房屋性质")
    private Integer fangwu;
    @ApiModelProperty(value = "营业执照")
    private String yingyezhizhao;
    @ApiModelProperty(value = "机构图片")
    private String jigotupian;
    @ApiModelProperty(value = "创建人")
    private String jigochuangjianren;



}
